﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Colonisator.Classes
{
    /// <summary>
    /// Classe ancêtre des doctrines
    /// </summary>
    public abstract class Doctrine
    {
        public ElementsDoctrine Elements { get; set; }
        //public abstract List<T> GetElements<T>() where T : ElementDoctrine;
        //public abstract void SetElements<T>(List<T> elements) where T : ElementDoctrine;
    }

    //public interface IElementsDoctrine
    //{
    //    List<T> GetElements<T>() where T : ElementDoctrine;
    //    void SetElements<T>(List<T> elements) where T : ElementDoctrine;
    //}

    public abstract class ElementsDoctrine : List<ElementDoctrine>
    {

    }
        
    public abstract class ElementDoctrine
    {
        public string Nom { get; set; }
        public int Niveau { get; set; }
    }
}
